package com.ysqcould.message.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 发票申请对象 t_invoice
 * 
 * @author ruoyi
 * @date 2022-06-30
 */
public class Invoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会ID */
    @Excel(name = "协会ID")
    private Long asId;

    /** 发起人用户ID */
    @Excel(name = "发起人用户ID")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String firmName;

    /** 纳税识别号 */
    @Excel(name = "纳税识别号")
    private String discernCode;

    /** 申请金额 */
    @Excel(name = "申请金额")
    private String applyMoney;

    /** 开票状态（ 0未开票 1已开票） */
    @Excel(name = "开票状态", readConverterExp = "0=未开票,1=已开票")
    private Long invoiceStatus;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    /** 是否查看未读消息（0 否 1是） */
    @Excel(name = "是否查看未读消息", readConverterExp = "0=,否=,1=是")
    private Long isSee;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setFirmName(String firmName) 
    {
        this.firmName = firmName;
    }

    public String getFirmName() 
    {
        return firmName;
    }
    public void setDiscernCode(String discernCode) 
    {
        this.discernCode = discernCode;
    }

    public String getDiscernCode() 
    {
        return discernCode;
    }
    public void setApplyMoney(String applyMoney) 
    {
        this.applyMoney = applyMoney;
    }

    public String getApplyMoney() 
    {
        return applyMoney;
    }
    public void setInvoiceStatus(Long invoiceStatus) 
    {
        this.invoiceStatus = invoiceStatus;
    }

    public Long getInvoiceStatus() 
    {
        return invoiceStatus;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsSee(Long isSee) 
    {
        this.isSee = isSee;
    }

    public Long getIsSee() 
    {
        return isSee;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("firmName", getFirmName())
            .append("discernCode", getDiscernCode())
            .append("applyMoney", getApplyMoney())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("invoiceStatus", getInvoiceStatus())
            .append("status", getStatus())
            .append("isSee", getIsSee())
            .toString();
    }
}
